package com.project.thisDatabase.base.model.data;

import com.project.annotation.data.Symbol;
import lombok.Data;

@Data
public class UpdateItem {

    private Object[] value;
    private String key;

    public UpdateItem(String key, Object[] value) {
        this.key = key;
        this.value = value;
    }

    @Override
    public String toString() {
        StringBuilder update = new StringBuilder();
        update.append(key);
        update.append("=");
        update.append("?");

        return update.toString();
    }
}
